Package-level declarations

Types

Link copied to clipboard

A strategy for placing a despawning item into a particular kind of target block (a container, a cooker, empty air, an entity, or the void). Strategies are tried in order by DespawnProcess.

Link copied to clipboard

Places a block item back into the world at an empty target location, doing its best to carry over the item's stored block data and tile-entity state (banners, skulls, container contents, sign text, spawners, and so on).

Link copied to clipboard

Places items into furnaces, blast furnaces, and smokers: stacking onto a matching smelt/fuel slot, dropping fuel into the fuel slot, or dropping a cookable item into the input slot when the recipe matches the cooker type.

Link copied to clipboard

Outcome of offering an item to a despawn strategy.

Link copied to clipboard

Places items into ordinary storage blocks: chests, barrels, hoppers, droppers, dispensers, shulker boxes, and trapped chests. Handles oversized leftover stacks by reconstructing them for the next despawn location.

Link copied to clipboard

Always applies. Destroys illegal/technical items outright rather than letting them be placed anywhere.

Link copied to clipboard

Places items onto a single entity occupying the target space: an item frame, a living entity's equipment slots (armour and hands), a storage minecart's inventory, or a furnace minecart's fuel.